<div class="equipMgt main">
  <div class="echart-content shadowbox">
    <div class="container-header">设备概况</div>
    <div class="clear my-time">    
      <div class="year-month">
        <a ng-repeat ="item in equipMgt.yearList"
          ng-click="equipMgt.syearOne(item)">
          {{item.year}}年
        </a>
      </div>
    </div>
    <div id="mechanical-equipment-total"></div>
  </div>
  <div class="echart-content clear shadowbox">
    <div class="container-header">维保情况</div>
    <div id="maintenance-condition"></div>
    <div class="maintenance">
      <table class="pa-table maintenance-table">
      <thead>
      <tr class="maintenance-table-th">
        <th>设备名称</th>
        <th>内部编号</th>
        <th>规格型号</th>
        <th>维保时间</th>
        <th>维保内容</th>
      </tr>
      </thead>
      <tbody>
      <tr class="maintenance-table-tr" ng-repeat = "item in equipMgt.maintenance" 
        ng-click="$state.go('maintenance')">
        <td><a class="table-a">{{item.deviceInfoBean.deviceName}}</a></td>
        <td>{{item.deviceInfoBean.innerNo}}</td>
        <td>{{item.deviceInfoBean.deviceLevel}}</td>
        <td class="table-tr-timer">{{item.maintainTime}}</td>
        <td>{{item.maintainContent}}</td>
      </tr>
      </tbody>
    </table>
    <a class="more-info" ui-sref="maintenance">更多</a>
    </div>
  </div>
  <div  class="echart-content clear  shadowbox">
    <div class="container-header">检测状况</div>
    <div id="detection-condition"></div>
    <div class="maintenance">
      <table class="pa-table maintenance-table">
        <thead>
          <tr class="maintenance-table-th">
            <th>设备名称</th>
            <th>内部编号</th>
            <th>规格型号</th>
            <th>检测时间</th>
          </tr>
        </thead>
        <tbody>
          <tr class="maintenance-table-tr" ng-repeat = "item in equipMgt.detection"
          ng-click="$state.go('equipmentInspection')" >
            <td><a class="table-a">{{item.deviceInfoBean.deviceName}}</a></td>
            <td>{{item.deviceInfoBean.innerNo}}</td>
            <td>{{item.deviceInfoBean.deviceModel}}</td>
            <td class="table-tr-timer">{{item.checkTime}}</td>
          </tr>
        </tbody>
      </table>
      <a class="more-info" ui-sref="equipmentInspection">更多</a>
    </div>
  </div>
</div>